CC = g++
TARGET = main
SRC = $(wildcard *.cc)
OBJ = $(patsubst %.cc,%.o,$(SRC))

$(TARGET) : $(SRC)
	$(CC) -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf $(TARGET)
